Skip to content

Conversation

@muthu90tech
Copy link
Contributor

I would like to work on the http2 support in seastar, mentioned here
Since this is a large task, I want to start small get feedback and iterate. Eventually making it compliant with http2 spec

*/


#define SEASTAR_HTTP2_TEST
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like a better way to expose private functions for test purposes.


namespace http {

class http2_connection {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This du[licates (at the first glance) the client.hh conneciton class

// Main entry point to start processing the HTTP/2 connection.
future<> process();

#ifdef SEASTAR_HTTP2_TEST
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We try to avoid ifdefs for no special readons. If the intent is just to get a private field out of a class, declare a method in internal or testing namespace that's friend to that class

@xemul
Copy link
Contributor

xemul commented Sep 18, 2025

We have both -- http server and client implementation in seastar. Does support for http2 come for both as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants